package com.frxuexi.park2210_2.user

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import com.frxuexi.lib_base.mvvm.BaseActivity
import com.frxuexi.park2210_2.R
import com.frxuexi.park2210_2.databinding.ActivityLoginBinding
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class LoginActivity : BaseActivity<ActivityLoginBinding,UserViewModel>() {
    override fun initData() {
        vm.loginSuc.observe(this){
            Log.i("===",it.toString())
        }
    }

    override fun initView() {
        vm.login("lr","666")
    }

}